package com.zoro.barn.business.service.sqldocument.business.document.dao;

import com.zoro.barn.commons.db.annotations.MybatisMapper;
import com.zoro.barn.business.service.sqldocument.business.document.entity.BarnDocumentImage;

import java.util.List;

/**
 * @author zhaoxingwu
 */
@MybatisMapper
public interface BarnDocumentImageMapper {

    void insertBatch(List<BarnDocumentImage> images);

    List<BarnDocumentImage> getByDocumentId(String documentId);

    void deleteByDocumentId(String documentId);
}
